<!--字体图标-->
<template>
  <svg class="icon" aria-hidden="true">
    <use :xlink:href="`#${icon}`"></use>
  </svg>
</template>

<script>
export default {
  name: 'BaseIconFont',
  props: {
    icon: {
      type: String,
      required: true,
      default: ''
    }
  }
};
</script>
